Upload and download streaming encryption to/from a cloud-based platform

ABSTRACT

Embodiments of the present disclosure include systems and methods for upload and/or download streaming encryption to/from an online service, or cloud-based platform or environment. The encryption process includes the following parts: Upload encryption, download decryption, and a central piece of infrastructure called the Interval Key Server (IKS). During both upload and download, the encryption and decryption processes are performed while the files are being uploaded/downloaded, (e.g., the files are being encrypted/decrypted as they are being streamed).

CROSS-REFERENCE TO RELATED APPLICATIONS AND EFFECTIVE FILING DATE ENTITLEMENT

This application is a divisional application of U.S. application Ser. No. 13/975,827, entitled “UPLOAD AND DOWNLOAD STREAMING ENCRYPTION TO/FROM A CLOUD-BASED PLATFORM” (Attorney Docket No. 61599-8043.US01), filed Aug. 26, 2013, which claims priority to and the benefit of U.S. Provisional Application 61/694,492, entitled UPLOAD AND DOWNLOAD STREAMING ENCRYPTION TO/FROM A CLOUD-BASED PLATFORM, filed on Aug. 29, 2012 (Attorney Docket No. 61599-8043.US00), which is hereby incorporated by reference in its entirety. This application is therefore entitled to an effective filing date of Aug. 29, 2012.

BACKGROUND

Collaborative online or cloud-based environments, such as collaborative file sharing environments, require dependable and secure encryption systems. Absent such dependable systems, users may be reluctant to exchange sensitive documents via the environment. Unfortunately, security breaches are often a reality in the digital era, where even the best encryption systems may be compromised because of a malicious employee, a careless administrator, etc.

Accordingly, there exists a need for a collaborative file sharing and/or storage system that facilitates improved encryption methods and improved recovery methods to respond to a security breach.

BRIEF DESCRIPTION OF THE DRAWINGS

Examples of a web-based collaboration platform that can synchronize a workspace or folder stored at a server with folders on the computer of one or more collaborators of the workspace or folder while employing some encryption techniques are illustrated in various of the figures. The examples and figures are illustrative rather than limiting.

FIG. 1 illustrates an example diagram of a system where a synchronization server supports synchronization between folders in an cloud-based environment and folders on a local computer in some embodiments.

FIG. 2 depicts an example diagram of a web-based or cloud-based platform deployed in an enterprise or other organizational setting for organizing work items and workspaces in some embodiments.

FIG. 3 depicts an example diagram of a workspace in a cloud-based, online or web-based collaboration environment accessible by multiple collaborators through various devices authorized to access the work space.

FIG. 4 depicts a block diagram illustrating an example of components in a host server for cloud-based services and storage accounts accessible via a sending application in a mobile device.

FIG. 5 depicts an example diagram of a network environment wherein upload and/or download streaming encryption to/from an online service, or cloud-based platform or environment may occur in some embodiments.

FIG. 6 is a flow diagram depicting some steps that may occur in some embodiments of the upload encryption process.

FIG. 7 is a flow diagram depicting some steps that may occur in some embodiments of the download decryption process.

FIG. 8 is a flow diagram depicting some steps in a key compromise and recovery process as may be implemented in some embodiments.

FIG. 9 shows a diagrammatic representation of a machine in the example form of a computer system within which a set of instructions for causing the machine to perform any one or more of the methodologies discussed herein may be executed.

Those skilled in the art will appreciate that the logic and process steps illustrated in the various flow diagrams discussed below, may be altered in a variety of ways. For example, the order of the logic may be rearranged, substeps may be performed in parallel, illustrated logic may be omitted, other logic may be included, etc. One will recognize that some steps may be consolidated into a single step and that actions represented by a single step may be alternatively represented as a collection of substeps. The figures are designed to make the disclosed concepts more comprehensible to a human reader. Those skilled in the art will appreciate that actual data structures used to store this information may differ from the figures and/or tables shown, in that they, for example, may be organized in a different manner; may contain more or less information than shown; may be compressed and/or encrypted; etc.

DETAILED DESCRIPTION

The following description and drawings are illustrative and are not to be construed as limiting. Numerous specific details are described to provide a thorough understanding of the disclosure. However, in some instances, well-known or conventional details are not described in order to avoid obscuring the description. References to one or an embodiment in the present disclosure can be, but not necessarily are, references to the same embodiment; and, such references mean at least one of the embodiments.

Reference in this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the disclosure. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Moreover, various features are described which may be exhibited by some embodiments and not by others. Similarly, various requirements are described which may be requirements for some embodiments but not other embodiments.

The terms used in this specification generally have their ordinary meanings in the art, within the context of the disclosure, and in the specific context where each term is used. Some terms that are used to describe the disclosure are discussed below, or elsewhere in the specification, to provide additional guidance to the practitioner regarding the description of the disclosure. For convenience, some terms may be highlighted, for example using italics and/or quotation marks. The use of highlighting has no influence on the scope and meaning of a term; the scope and meaning of a term is the same, in the same context, whether or not it is highlighted. It will be appreciated that same thing can be said in more than one way.

Consequently, alternative language and synonyms may be used for any one or more of the terms discussed herein, nor is any special significance to be placed upon whether or not a term is elaborated or discussed herein. Synonyms for some terms are provided. A recital of one or more synonyms does not exclude the use of other synonyms. The use of examples anywhere in this specification including examples of any terms discussed herein is illustrative only, and is not intended to further limit the scope and meaning of the disclosure or of any exemplified term. Likewise, the disclosure is not limited to various embodiments given in this specification.

Without intent to limit the scope of the disclosure, examples of instruments, apparatus, methods and their related results according to the embodiments of the present disclosure are given below. Note that titles or subtitles may be used in the examples for convenience of a reader, which in no way should limit the scope of the disclosure. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure pertains. In the case of conflict, the present document, including definitions will control.

System Overview

Embodiments of the present disclosure include systems and methods for upload and/or download streaming encryption to/from an online service, or cloud-based platform or environment.

FIG. 1 illustrates an example diagram of a system where a host server 100 and notification server 150 provide notifications of activities that occur in the cloud-based environment in real time or near real time to users 108. Further, sync server 120 supports synchronization of folders stored locally on a user's computer with folders stored by the host server 100 in repository 130.

The client devices 102 can be any system and/or device, and/or any combination of devices/systems that is able to establish a connection, including wired, wireless, cellular connections with another device, a server and/or other systems such as host server 100 and/or notification server 150 and/or sync server 120. Client devices 102 can include a synchronization client program to synchronize a local copy of a folder with a copy of a folder stored on the web-based collaboration environment server.

Client devices 102 may typically include a display and/or other output functionalities to present information and data exchanged between or among the devices 102 and/or the host server 100 and/or notification server 150 and/or the synchronization server 120.

For example, the client devices 102 can include mobile, hand held or portable devices or non-portable devices and can be any of, but not limited to, a server desktop, a desktop computer, a computer cluster, or portable devices including, a notebook, a laptop computer, a handheld computer, a palmtop computer, a mobile phone, a cell phone, a smart phone, a PDA, a Blackberry device, a Treo, a handheld tablet (e.g. an iPad, a Galaxy, Xoom Tablet, etc.), a tablet PC, a thin-client, a hand held console, a hand held gaming device or console, an iPhone, and/or any other portable, mobile, hand held devices, wearable devices (e.g., mobile enabled watches, glasses such as a Google glass, a network or mobile enabled glass, or Apple watch or any network or mobile enabled wrist watch, etc.) In one embodiment, the client devices 102, host server 100, notification server 150, and synchronization server 120 are coupled via a network 106. In some embodiments, the devices 102 and host server 100 may be directly connected to one another.

The input mechanism on client devices 102 can include touch screen keypad (including single touch, multi-touch, gesture sensing in 2D or 3D, etc.), a physical keypad, a mouse, a pointer, a track pad, motion detector (e.g., including 1-axis, 2-axis, 3-axis accelerometer, etc.), a light sensor, capacitance sensor, resistance sensor, temperature sensor, proximity sensor, a piezoelectric device, device orientation detector (e.g., electronic compass, tilt sensor, rotation sensor, gyroscope, accelerometer), or a combination of the above.

Signals received or detected indicating user activity at client devices 102 through one or more of the above input mechanism, or others, can be used in the disclosed technology by various users or collaborators (e.g., collaborators 108) for accessing, through network 106, a web-based collaboration environment or cloud-based platform (e.g., hosted by the host server 100).

The collaboration platform or environment hosts workspaces with work items that one or more users can access (e.g., view, edit, update, revise, comment, add to discussions, download, preview, tag, or otherwise manipulate, etc.). A work item can generally include any type of digital or electronic content that can be viewed or accessed via an electronic device (e.g., device 102). The digital content can include .PDF files, .doc, slides (e.g., PowerPoint slides), images, audio files, multimedia content, web pages, blogs, etc. A workspace can generally refer to any grouping of a set of digital content in the collaboration platform. The grouping can be created, identified, or specified by a user or through other means. This user may be a creator user or administrative user, for example. The workspace can also include an online discussion area for collaborators to enter comments linked to a particular workspace or folder.

In general, a workspace can be associated with a set of users or collaborators (e.g., collaborators 108) which have access to the content included therein. The levels of access (e.g., based on permissions or rules) of each user or collaborator to access the content in a given workspace may be the same or may vary among the users. Each user may have their own set of access rights to every piece of content in the workspace, or each user may have different access rights to different pieces of content. Access rights may be specified by a user associated with a work space and/or a user who created/uploaded a particular piece of content to the workspace, or any other designated user or collaborator.

In general, the collaboration platform allows multiple users or collaborators to access or collaborate on efforts on work items such that each user can see, remotely, edits, revisions, comments, or annotations being made to specific work items through their own user devices. For example, a user can upload a document to a work space for other users to access (e.g., for viewing, editing, commenting, discussing, signing-off, or otherwise manipulating). The user can login to the online platform and upload the document (or any other type of work item) to an existing work space or to a new work space. The document can be shared with existing users or collaborators in a work space.

A diagrammatic illustration of the cloud-based environment and the relationships between workspaces and users/collaborators are illustrated with further reference to the example of FIG. 2. A diagrammatic illustration of a workspace having multiple work items with which collaborators can access through multiple devices is illustrated with further reference to the example of FIG. 3.

In one embodiment, actions performed on work items or other activities that occur in a work space can be detected in real time or in near real time. In addition, users, collaborators, or select users can be notified in real time or near real-time of these actions or activities. Various mechanisms can be used to notify users or collaborators, including through the web interface to access the collaboration platform, via email, and/or SMS, for example.

In one embodiment, work items in a workspace or folder within the collaboration environment can be synchronized to workspaces or folders on a collaborator's computer.

Functions and techniques disclosed for real time or near real time notification of activities that occur in the online platform on a work item or in a work space can be performed by a push-enabled server (e.g., the notification server 150 coupled to the host server 100 of the collaboration platform. Additionally, functions and techniques disclosed for synchronizing workspaces or folders within the collaboration environment with workspaces or folders on a collaborator's desktop can be performed by a synchronization server 120. Functions and techniques performed by the host server 100, the notification server 150, the synchronization server 120 and the related components therein are described, respectively, in detail herein.

In one embodiment, client devices 102 communicate with the host server 100 over network 106. In general, network 106, over which the client devices 102 and the host server 100 communicate, may be a cellular network, a telephonic network, an open network, such as the Internet, or a private network, such as an intranet and/or the extranet, or any combination thereof. For example, the Internet can provide file transfer, remote log in, email, news, RSS, cloud-based services, instant messaging, visual voicemail, push mail, VoIP, and other services through any known or convenient protocol, such as, but is not limited to the TCP/IP protocol, Open System Interconnections (OSI), FTP, UPnP, iSCSI, NSF, ISDN, PDH, RS-232, SDH, SONET, etc.

The network 106 can be any collection of distinct networks operating wholly or partially in conjunction to provide connectivity to the client devices 102 and the host server 100 and may appear as one or more networks to the serviced systems and devices. In one embodiment, communications to and from the client devices 102 can be achieved by, an open network, such as the Internet, or a private network, such as an intranet and/or the extranet. In one embodiment, communications can be achieved by a secure communications protocol, such as secure sockets layer (SSL), or transport layer security (TLS).

In addition, communications can be achieved via one or more networks, such as, but are not limited to, one or more of WiMax, a Local Area Network (LAN), Wireless Local Area Network (WLAN), a Personal area network (PAN), a Campus area network (CAN), a Metropolitan area network (MAN), a Wide area network (WAN), a Wireless wide area network (WWAN), enabled with technologies such as, by way of example, Global System for Mobile Communications (GSM), Personal Communications Service (PCS), Digital Advanced Mobile Phone Service (D-Amps), Bluetooth, Wi-Fi, Fixed Wireless Data, 2G, 2.5G, 3G, 4G, IMT-Advanced, pre-4G, 3G LTE, 3GPP LTE, LTE Advanced, mobile WiMax, WiMax 2, WirelessMAN-Advanced networks, enhanced data rates for GSM evolution (EDGE), General packet radio service (GPRS), enhanced GPRS, iBurst, UMTS, HSPDA, HSUPA, HSPA, UMTS-TDD, 1×RTT, EV-DO, messaging protocols such as, TCP/IP, SMS, MMS, extensible messaging and presence protocol (XMPP), real time messaging protocol (RTMP), instant messaging and presence protocol (IMPP), instant messaging, USSD, IRC, or any other wireless data networks or messaging protocols.

FIG. 2 depicts an example diagram of a web-based or cloud-based platform deployed in an enterprise or other organizational setting 250 for organizing workspaces 205, 225, 245 which include work items 215, 235, 255 and providing a discussion workspace area (not shown) for the respective workspaces 205, 225, 245.

The web-based platform for collaborating on projects or jointly working on documents can be used by individual users and shared among collaborators. In addition, the collaboration platform can be deployed in an organized setting including but not limited to, a company (e.g., an enterprise setting), a department in a company, an academic institution, a department in an academic institution, a class or course setting, or any other types of organizations or organized setting.

When deployed in an organizational setting, multiple workspaces (e.g., workspace A, B C) can be created to support different projects or a variety of work flows. Each workspace can have its own associated work items. For example, work space A 205 and a corresponding discussion workspace may be associated with work items 215, work space B 225 and a corresponding discussion workspace can be associated with work items 235, and work space N 245 and a corresponding discussion workspace can be associated with work items 255. The work items 215, 235, and 255 may be unique to each work space but need not be. For example, a particular word document can be associated with only one work space (e.g., work space A 205) or it may be associated with multiple work spaces (e.g., Work space A 205 and work space B 225, etc.).

In general, each work space has a set of users or collaborators associated with it. For example, work space A 205 is associated with multiple users or collaborators 206. In some instances, work spaces deployed in an enterprise may be department specific. For example, work space B may be associated with department 210 and some users shown as example user A 208, and workspace N 245 can be associated with departments 212 and 216 and users shown as example user B 214.

Each user associated with a work space can generally access the work items associated with the work space. The level of access will depend on permissions associated with the specific work space, and/or with a specific work item. Permissions can be set for the work space or set individually on a per work item basis. For example, the creator of a work space (e.g., one of user A 208 who creates work space B) can set one permission setting applicable to all work items 235 for other associated users and/or users associated with the affiliate department 210, for example. Creator user A 208 may also set different permission settings for each work item, which may be the same for different users, or varying for different users.

In one embodiment, a first type of permission level, e.g. an editor, can allow a user to have full read and write access to a workspace such that the user can view and download contents of the workspace as well as upload new content to the workspace. A second type of permission level, e.g. a viewer, can allow a user to have full read access to a workspace such that the user can view and download contents of the workspace but not upload or edit contents of the workspace. A third type of permission level, e.g. an uploader, can allow a user to have limited write access to contents of a workspace such that the user can see items in the workspace but not download or view the items, while being permitted to upload new content to the workspace.

In one embodiment, the ability of a user associated with a workspace to enable synchronization of the workspace with local folders on the user's computer can be tied to the permission level of the user. Alternatively, separate synchronization permission can be assigned by a creator or administrator of a workspace to individuals associated with the workspace. In some instances, synchronization permission can be associated with the workspace or the items in the workspace or based upon any other criteria.

In each work space A, B . . . N, when an action is performed on a work item by a given user or any other activity is detected in the work space, other users in the same work space may be notified in real time or in near real time. Activities which trigger real time notifications can include, by way of example but not limitation, adding, deleting, or modifying collaborators in the work space, adding, deleting a work item in the work space, creating a discussion topic in the work space.

Specifically, items or content downloaded or edited in accordance with the techniques described in the present disclosure can be cause notifications to be generated. Such notifications can be sent to relevant users to notify them of actions surrounding a download, an edit, a change, a modification, a new file, a conflicting version, an upload of an edited or modified file.

The activity can be performed in relation to a discussion topic in the work space, for example, adding a response to a discussion topic, deleting a response, or editing a response in the work space. In addition, the activity is performed on a work item in the work space by the user, including, by way of example but not limitation, download or upload of a work item, deletion of editing of the work item, selecting, adding, deleting, and modifying a tag in the work item, preview of the work item or comment of the work item, setting or changing permissions of the work item, sharing a work item, emailing a link to the work item, and/or embedding a link to the work item on another website.

In one embodiment, in a user interface to the web-based collaboration platform where notifications are presented, users can, via the same interface, create action items (e.g., tasks) and delegate the action items to other users including collaborators pertaining to a work item 215, for example. The collaborators 206 may be in the same workspace A 205 or the user may include a newly invited collaborator. Similarly, in the same user interface where discussion topics can be created in a work space (e.g., work space A, B or N, etc.), actionable events on work items can be created and/or delegated/assigned to other users such as collaborators of a given work space 206 or other users. Through the same user interface, task status and updates from multiple users or collaborators can be indicated and reflected. In some instances, the users can perform the tasks (e.g., review or approve or reject, etc.) via the same user interface.

FIG. 3 depicts an example diagram of a workspace 302 in an online or web-based collaboration environment accessible by multiple collaborators 322 through various devices authorized to access the work space.

Each of users 316, 318, and 320 may individually use multiple different devices to access and/or manipulate work items 324 in the work space 302 with which they are associated with. For example users 316, 318, 320 may be collaborators on a project to which work items 324 are relevant. Since the work items 324 are hosted by the collaboration environment (e.g., a cloud-based environment), each user may access the work items 324 anytime, and from any physical location using any device (e.g., including devices they own or any shared/public/loaner device).

Work items to be edited or viewed may be accessed from the workspace 302 in accordance with the platform and/or application independent mechanisms. Users may also be notified of access, edit, modification, and/or upload related-actions performed on work items 324 by other users or any other types of activities detected in the work space 302. For example, if user 316 modifies a document, one or both of the other collaborators 318 and 320 can be notified of the modification in real time, or near real-time, or not in real time. The notifications can be sent through any of all of the devices associated with a given user, in various formats including, one or more of, email, SMS, or via a pop-up window in a user interface in which the user uses to access the collaboration platform. In the event of multiple notifications, each notification may be depicted preferentially (e.g., ordering in the user interface) based on user preferences and/or relevance to the user (e.g., implicit or explicit).

For example, a notification of a download, access, read, write, edit, or upload related activities may be presented in a feed stream among other notifications through a user interface on the user device according to relevancy to the user determined based on current or recent activity of the user in the web-based collaboration environment.

In one embodiment, a notification feed stream includes updates when an invited user accepts an invitation and/or successfully creates a new account through receipt of an invitation from an existing user. The invited user, upon creation of the new account, receives the account having enhanced features. The new user can automatically be connected to the existing user who sent the invitation. The system can also automatically prompt both users to query they wish to be collaborators in a common work space.

Work items hosted by a collaboration environment (e.g., a cloud-based collaboration environment) can be accessed by users (e.g., users 316, 318, and 320) via multiple different devices (e.g., devices 304-314) for viewing, editing, processing or performing other manipulations on work items. The devices can include applications for accessing a server hosting a cloud-based platform or service or other backend web services (hereinafter “cloud-based collaboration platform application”) and applications for viewing, editing, processing, or performing other manipulations on work items. The communication between such applications are generally facilitated by a communication mechanism of the OS. For example, in Android OS, the communication mechanism is based on “Intents”. As previously described, the underlying communication mechanism are generally insecure, and any data passed between applications are visible to all other application on a device.

Hosting Server

FIG. 4 depicts a block diagram illustrating an example of components in a host server 100 for cloud-based services and storage accounts accessible via a sending application, e.g., on a mobile device.

The host server 100 of the web-based or cloud-based environment can generally be a cloud-based service. The host server 100 can include, for example, a network interface 405, an upload request processor 410 having a drag-drop manager 415, an upload engine 420 having a multi-file upload manager 425 and/or a folder upload manager 430 and a user interface module 435 having a navigation manager 440 and an upload content access module 445. The host server 100 can also include, for example, an inter-application transaction processor 465 having an inter-application transaction detector 470 and an encryption key generator 475. One embodiment of the host server 100 can also include an SDK provisioning module 480 and a white list manager 485. Another embodiment of the host server 100 further includes a notification engine 450 having, for example, a feed stream updator 455 and/or a recipient selector 460. Additional or less components/modules/engines can be included in the host server 100 and each illustrated component.

The network interface 405 can be a networking module that enables the host server 100 to mediate data in a network with an entity that is external to the host server 100, through any known and/or convenient communications protocol supported by the host and the external entity. The network interface 405 can include one or more of a network adaptor card, a wireless network interface card (e.g., SMS interface, WiFi interface, interfaces for various generations of mobile communication standards including but not limited to 1G, 2G, 3G, 3.5G, 4G, LTE, etc.,), Bluetooth, a router, an access point, a wireless router, a switch, a multilayer switch, a protocol converter, a gateway, a bridge, bridge router, a hub, a digital media receiver, and/or a repeater.

One embodiment of the host server 100 includes the upload request processor 410 which can receive, detect, process, identify, parse, translate, and/or determine an activity request. An upload request can be submitted by a user through a user interface of the collaboration platform to upload one or multiple items.

The user can identify the files, content, or work items to be uploaded to the host server 100 one-by-one and queue up multiple items (e.g., including but not limited to files, folders, documents, images, audio, etc.) to be uploaded in a single request. The user can also select all of the items to be uploaded in a single action (e.g., via highlighting or otherwise selecting of icons corresponding to each of the items). In one embodiment, the upload request is generated via a drag-and-drop action of the multiple work items to be uploaded to the host server into a portion of a user interface. Drag-and-drop activated uploaded requests can be detected, handled, received, processed, and/or otherwise managed by the drag-drop manager 415.

In one embodiment, the upload request is generated via a drag-and-drop action of a single folder which includes the multiple work items to be uploaded to the host server 100. For example, the upload request can be generated when a folder having the multiple items on a client device that is to be uploaded is identified through the user interface. In some instances, the folder can include additional folders in a folder hierarchy of multiple items.

In some instances, the user can generate an upload request by activating the upload feature in a tab on a user interface and initiate uploading by selecting (e.g., clicking on or otherwise activating) a button/tab. Once selected, another user interface or a pop-up window may appear allowing the user to navigate through files or folders to select the items to be uploaded.

Once upload requests have been detected and processed, the upload engine 420 can upload the requested item or multiple requested items. The upload engine 420 can, in one embodiment, upload a single item or multiple items (e.g., sequentially or simultaneously) to the host server 100. A multiple item upload may be initiated via a single-step or multi-step user request. A multi-file upload request can be handled, processed, and executed, for example, through the multi-file upload manager 425.

In one embodiment, the multi-file upload manager 425 receives an identification of each of the multiple files to be uploaded (e.g., from the upload request processor 410) and sequentially prepares each individual file for uploading and uploads each file independently. For example, the upload manager 425 can compress one of the multiple files individually, upload it to the host server 100 and decompress the file when uploaded and proceed to perform the same steps with the next file. Preprocessing a file can include, for example, analyzing the file size and type to determine if it is acceptable/valid and/or to identify how best to compress the file. Post-processing can include, for example, performing one or more of, decompressing the file, validating the file size and name, checking permissions, potentially scanning for malicious software, and/or moving to permanent storage. The step of moving to storage can further include, one or more of, adding the file metadata to the database, creating thumbnails, creating previews, indexing for search, encrypting the file, and/or storing in multiple locations for redundancy. Note that the above processes can occur in any order or synchronously in any combination with one another. The process continues until all items in the request have been uploaded to the host server 100. The upload may automatically progress from one file when completed to the next one in sequence when the user initiates a multi-file upload request.

In one embodiment, the upload engine 420 uploads multiple items in a folder hierarchy based on a single request to upload a folder which has a hierarchy of folders inside, for example, via the folder upload manager 430. In one embodiment, the folder upload manager compresses the multiple items in the folder hierarchy in a single process into a single item and uploads the single item in a single upload process (rather than one by one) to the host server 100. After the merged file of multiple items has been uploaded, the folder upload manager 430 can decompress and subsequently parse the single upload of the single item into the original individual files that were stored as multiple items in the folders in the hierarchy. By merging multiple files into one and performing a single compression, and decompression step, the uploading process can be expedited since the overhead in time to compress and decompress multiple files is mostly eliminated. Some additional benefits of bulk uploading allow the following overhead to be partially or wholly eliminated: repeatedly creating TCP connections for each upload, repeatedly checking the same permissions and storage quotas when processing the files on the server.

One embodiment of the host server 100 includes a notification engine 450. The notification engine 450, can for example, update a feed stream to include an updated feed indicate that an item or multiple items have been uploaded, for example, via the feed stream updator 455. The users that are notified can be selected, for example, by the recipient selector 460, and can include collaborators or the user, or other users meeting a criterion. In some instances, the feed stream is updated in real time or near real time relative to when the upload of the item completed. For real-time updating, the notification engine 450 can utilize another server, or another engine in the same server which provides push functionality.

The notification engine 450 can generally notify users, which can be collaborators of the user who performed the activity in the work space via one or more of many mechanisms, including but not limited to, email, SMS, voice-message, text-based message, RSS, feed, etc.

In one embodiment, the notification is depicted through a web-browser used by the other user to access the web-based collaboration environment, for access in real time or near real time to when the activity was performed by the user. When notifying a user in real time through a web-browser, the notification engine 450 can utilize a push-enabled service to ensure real time notification. In one embodiment, the notification is sent by a component or another server which implements push technology (e.g., the notification server 150 shown in the example of FIG. 1). The push-enabled service can be implemented via long poll or HTTP streaming, for example, by the notification server 150 or another component, device which may be internal to or external to the host server 100. In addition, the host server 100 could utilize other push servers including third party push servers to implement push technology including but not limited to mobile platform push systems and services (e.g., via smart phones or tablets or other portable devices such as iPhone, Android phones, Blackberry, iPad, Galaxy or other tablets, etc.).

One embodiment of the host server 100 includes the user interface module 435, which preserves or enhances user experience before, during, or after an upload request. For example, the user interface module 435 can allow the user to engage in other activities in the collaboration platform while an upload is in progress so as to prevent the user from having to wait for the completion to work in the platform.

In one embodiment, during the upload of a single file (before completion), the user can generally navigate away from the user interface through which the upload request was submitted, for example, via the navigation manager 440 in the user interface module 435. In other words, while a file or item upload is in progress, the user can navigate to other pages to perform other actions or initiate additional actions on the current page without interrupting (stopping or pausing) the in-progress upload.

Similarly, when a multi-file or multi-item upload request is in progress, the user can also navigate away from the user interface which the upload request was submitted prior to completion of the uploading of each of the multiple items to the host server 100. Navigation between pages during an upload of multiple files can also be managed by the navigation manager 440. For example, the upload of the multiple items can continue to proceed and is not interrupted if the user accesses a link on the user interface causing another user interface to launch in a browser. To enable bulk uploading, a new browser window is opened so it operates independently of user navigation. In addition, the web application for uploading and access of the collaboration environment is “pageless,” meaning it can be updated asynchronously without a browser page refresh. This allows navigation and to start new uploads in other folders, which can be added to the upload queue.

In addition, during a multi-file upload, an item of the multiple items that has been uploaded to the host server 100 available for access through the user interface, even when some of the multiple items have not yet been uploaded to the host server, via the upload content access module 445, for example. Thus, during an active upload, individual files which have completed uploading can be accessed or interacted with by the user in the collaborative environment without having to wait for the full upload to complete.

In some instances, the item which has been uploaded to the host server may be manipulated by the user through the user interface, without a need for browser refresh. This enhances the user experience by allowing the user to work on the file or otherwise interact with it once it has been uploaded without waiting for other files to finish uploading. For example, the user can view, edit, preview, or comment on the item that has been uploaded, prior to completion of uploading all of the multiple items in an upload request. In one embodiment, buffer space in memory for storage of the individual work items are created in response to the upload request such that when individual items have been uploaded, they can be moved into the created buffer space, and subsequently permanent storage. When the file is in permanent storage, the user can then access and work on the individual item, while others are still being uploaded. In one embodiment, metadata for the file can be created before it is fully uploaded or processed, allowing faster user interaction. However, to actually interact with the file content (full content search, download or preview) the file generally needs to be processed as usual and be stored in permanent storage.

One embodiment of the host server 100 can include an SDK provisioning module 480 and a whitelist application manager 485. The SDK provisioning module 480 can provision SDKs, API keys/tokens, and the like to applications that have been approved for integration with the sending application. The SDK can include some methods, iconography, and the like that allow inter-application communication and make the inter-application communication capability apparent to users of both applications. For example, the SDK can recognize encoded messages broadcast by the sending application (e.g., the cloud-based collaboration platform application) and include response to method calls to facilitate various data access and transfer scenarios discussed above.

Applications that have integrated with the sending application by implementing the SDK, can be designated as a whitelisted application by the whitelist application manager 485. The whitelisted applications can receive automatic notifications of updates to SDKs, can make API calls to the host server, receive and respond to custom Intents, and the like.

In one embodiment of the host server 100, the inter-application transaction processor 465 can include an inter-application transaction detector 470 and an encryption key generator 475. The inter-application transaction detector 470 can detect an inter-application transaction request from the sending application and/or the receiving application. The transaction request may or may not involve file transfer. For example, if the transaction request is for the launch of the receiving application, no file transfer may be involved. The inter-application transaction processor 465 may not take any further steps where no file transfer between applications is involved. However, if the transaction request is to open a file in the receiving application, the inter-application transaction detector 470 may detect it as such, and trigger the encryption key generator to generate an encryption key for encrypting/decrypting the file in transit. In one implementation, the inter-application transaction detector 470 can detect the transaction request based on the encryption key request from the sending application. In one implementation, the inter-application transaction detector 470 can also determine whether a transaction request requires a new encryption key and if so, can trigger the encryption key generator 475 to generate and send a new encryption key. For example, in one implementation, each transaction request involving a file transfer may require a new encryption key. In another implementation, a new encryption key may be required for the first transaction, and the next few transactions may not require a new key. In other implementations, a new encryption may be required for each new session with the requesting application, after expiration of a predefined time period, for each receiving application involved in a transaction, and the like.

In one embodiment, the encryption key generator 475 can generate and send to the requesting application an encryption key for encryption one or more files. In one implementation, the encryption key may have an associated time stamp which can be used to determine the expiration date/time. The encryption key, in one implementation, can be an auth token, a hash of an auth token with or without a time stamp, and the like.

Features of Encryption System Embodiments:

Various of the disclosed embodiments contemplate encryption procedures to facilitate security in a synchronization and/or collaboration architecture, e.g., such as described above with reference to FIGS. 1-4. In some embodiments, the encryption process includes an upload encryption operation and a download decryption operation. Some of the operations may be mediated by a server, referred to herein as an Interval Key Server (IKS). Note that in some embodiments the IKS may be located on the host server 100, be integrated with the host server 100 (e.g. expanding on the functionality of encryption key generator 475), or be in communication with the host server 100.

FIG. 5 depicts an example diagram of a network environment wherein upload and/or download streaming encryption to/from an online service, or cloud-based platform or environment may occur in some embodiments.

A client 501, e.g. a collaborator 108 operating a client device 102, may desire to upload a file via an upload module 502. The upload module 502 may be in communication with a database 503. The upload module 502 may also be in communication with an interval key server (IKS) 504 and a filer 506. The IKS 504 may include an encryption key pool 505. Encryption key pool 505, in conjunction with a system of headers described in greater detail below, may be used to improve key circulation and to recover from key compromises by adverse parties. The filer 506 may be any suitable storage location known in the art. A download module 507 may itself include a download decrypt module 509 which may communicate materials to client 508. Client 508 may be the same or different as client 501, for example the clients may be different collaborators within a group.

In some embodiments, the data stored in the database 503 is the identifier of the encryption key from the key pool 505. This database may be populated at block 606 as described in greater detail below. The identifier may be encoded into the ENC2_message and may be used to retrieve the keypool's 505 encryption key. In some embodiments, this may occur following block 703 and before 704. In some embodiments, the entry in the database is only used for the rekey process, such as the example described in 800, to identify all files whose DEK was encrypted using that secondary key.

Encryption Upload Embodiments:

FIG. 6 is a flow diagram depicting some steps that may occur in some embodiments of the upload encryption process 600.

At step 601 the system may generate a fully random key (data encryption key, referred to as DEK herein) for the file to be uploaded. The DEK may be 32 or 64 bytes of random data in some embodiments. The DEK may be used in AES256 CTR mode encryption of the file data. Thus, the DEK may represent the “file encryption” key, whereas the other keys referred to herein consider transactional keys for improving security.

The Data Encryption Key may travel in a file of the following form in some

Embodiments

1 encrypted blob of { version identification string some padding the DEK itself }

Version identification may be used, in conjunction with the key encryption pool 505, to redistribute a new keyset following a key, or other security, compromise. The DEK may be locked (e.g., encrypted) temporarily using a weaker key in some embodiments. The weaker key is referred to herein as “ENC1” and may be stored at the upload module 502, e.g. on a disk. The key ENC1 may not necessarily be “weaker” than the DEK in the sense that it is smaller, although that may be the case. Rather, the ENC1 key may be known throughout the system, and accordingly more readily compromised than the DEK. In this sense, because of its pervasive nature, the ENC1 is “weaker” than the DEK.

The upload module may communicate with database 503 to find every file which was encrypted by the index, e.g. using a key identifier. This may occur at the end of the encryption process in some embodiments. As described in greater detail below, headers may be used to identify the keys previously used to encrypt files. New keys may be introduced into circulation and replace previous keys used to encrypt files in some embodiments as described in greater detail herein. For example, where a user's account becomes compromised, or a malicious employee divulges key pairings, the system can redistribute a new key from the key pool for reencryption of each of the files.

At step 602, the encryption system operating at the client system 501 may receive a file for upload, e.g. directly from a collaborator or from an automated process on the collaborator's computer. In some embodiments, as the bytes of the upload file arrive at the encryption system, the bytes may be stream encrypted simultaneously using the previously generated encrypted random key (e.g., by the data encryption key DEK). In this manner the file may arrive on the disk in an encrypted format. In one example, the encryption process used can be a standalone binary, written in C, based on cryptography libraries. At this point, there may be two files: a key file (referred to herein as ENC1 message) containing the DEK encrypted with the key ENC1; and the data file encrypted with DEK. In some embodiments, these two files may be merged into a single file, or into a single data transmission stream.

Following creation of these files, some embodiments then seek to perform various processing such that the data file is seamlessly uploaded to a user's account. For example, at step 603, the encryption system may contact the IKS server 504 and send the encrypted key file (ENC1 Message) to the IKS server 504, e.g. via an HTTP POST action. At step 604, the IKS server 504 may then take the encrypted key file apart (e.g., extract/decrypt the original random key DEK), and re-encrypt the DEK in a stronger format using one of a set of keys from an encryption key pool 505. The second key retrieved from the encryption pool is referred to as “ENC2” herein and the file generated by encrypting the DEK with ENC2 referred to herein as “ENC2_Message”. The keys at the encryption key pool 505 may only exist on the IKS server 504 in some embodiments. The encryption pool keys may be generated locally at the IKS server 504 in a secure manner and independently managed. In some embodiments, different methods may be used to generate different of the encryption pool keys to ensure that the compromise of one key will not facilitate the comprise of another key. Correlations between the keys and their use may be reduced to further complicate discovery of keys.

In some embodiments, key encryption keys (ENC2s) for the key pool 505 may be generated offline by running a script. The script may require a password, which may be put through a Password Based Key Derivation Function to produce an encryption key, which may be used to decrypt the existing key pool. Some number (N) of new keys may then be generated using a pseudorandom number generator seeded from system entropy. These new keys may be appended to the original list and encrypted (in some embodiments entirely in memory) using the password-based key mentioned above. The new keys may then be written back to disk as a new key pool file.

One example of the format for generating ENC2_Message is: ENC2_Message=(Data encryption key (DEK) (ENC1+checksum (ENC1), index). The term “index” as used here will be understood to refer the identifier for the keypool key. That is, ENC2_Message may be generated by renencrypting DEK using a key ENC2 from the key pool, where the key ENC2 from the key pool is selected based on its index. The index may itself be chosen based on the original key ENC1, for example, by taking a checksum of the key and using the checksum modulo the size of the key pool to identify an encryption pool key index. One will regularly recognize a multitude of methods for selecting index, many of which are less susceptible to cryptanalysis.

In some embodiments, the message ENC2_Message may be in the following form:

version id key_id encrypted blob { DEK md5(DEK) }

The encrypted blob in this case is encrypted with the key ENC2 that key_id refers to within the encryption key pool 505 maintained by IKS server 504. The fields “version id” and “key_id” may be stored in plain text at the start of the file in some embodiments. As discussed above, the version may be used to determine the character of a previously encrypted file following a compromise (e.g., versions preceding a compromise date may be reencrypted with a new key). In order to generate the ENC2 message, the IKS may extract the DEK from ENC1, and then produce an ENC2 message from scratch as described above.

At step 605, the IKS server 504 may return ENC2_message (or ENC2 itself in some embodiments) to the upload module 502, e.g., as a response to the POST request. At step 606, the upload module 502 may write ENC2_message (or ENC2 itself in some embodiments) to disk. At this point, the upload module 502 may have the following files: the original key file (e.g., ENC1_message, DEK encrypted using ENC1), the encrypted data file (encrypted with DEK), and the newly encrypted key file (ENC2_message, DEK encrypted using ENC2). In some embodiments, the system may transfer ENC2_message without writing to disk, as part of a transient messaging operation.

At step 607, the encrypted data file may then be transferred to a storage location (e.g., the filer 506), along with the IKS encrypted key file (ENC2_message). Thus, ENC1_message may be discarded and ENC2_message may be sent to permanent storage, in some embodiments. In some embodiments, ENC1_message may have been encrypted with a static key (ENC1), which if compromised may not be able to be changed (or doing so would require every key file in the system to be re-encrypted).

At step 608, the intermediate stage files (e.g., the encrypted data file, the key ENC1) may then be removed from the upload module 502.

Encryption Download Embodiments:

Following a file upload, the client's data file may now be securely stored on the remote server. For the client or a collaborator to subsequently retrieve the file, they may then initiate a download request to acquire and decrypt the stored information.

FIG. 7 is a flow diagram depicting some steps that may occur in some embodiments of the download decryption process 700. In some embodiments, decryption for download can be implemented using a module plugin configured to operate with a reverse proxy process (e.g., a reverse proxy system such as Nginx®). In one example, the decryption module may be implemented using a plugin for Nginx®. For example, all requests to the system may be run through reverse proxies such as Nginx® in some embodiments.

In some embodiments, decryption may be initiated by detecting (e.g., by Nginx®) two special headers that may be uniquely identified by the system. These two headers may include, for example, locations for the data file and for the key file, as well as encryption key pool information. The headers may be tracked by a download module 509 in some embodiments. For example, Nginx® may detect the headers and make the two requests in some embodiments. Use of the headers may facilitate the introduction of new keys into circulation in some embodiments. In this manner, the system may identify each of a plurality of files encrypted using the same key. If a key were compromised, then every file that was encrypted with that key could be identified and re-encrypted with a suitable replacement key.

At step 701, the client system may receive and/or authorize a download request. In many embodiments, this step may be preceded by an authentication to verify that the requesting user has the privileges necessary to perform the download. After a download request has been made and the authorization has been approved, the IKS or filer server handling the request may respond to the reverse proxy server (e.g., the Nginx) with a response including two headers at step 702.

Receipt of these two headers may trigger the reverse proxy module (e.g., download decrypt module) to make requests (e.g., HTTP sub-requests) for the file and for the key ENC2, e.g. from the IKS server 504. The request for the file may be sent directly to the filer and fetched by the decryption module 509 that performs the streaming decryption. The request for the key ENC2 may then be sent to the IKS server, at step 703. For example, the headers may include fields that appear as follows:

-   -   x-decrypt:         http://boxfiler101.ve.box.net/2011/some/path/to/file.enc     -   x-decrypt-metadata:         http://boxfiler101.ve.box.net/2011/some/path/to/file.meta

In these examples the fields specify that the decrypt key may be found at a file path on the server “boxfiler101.ve.box.net”. Similarly, the second field specifies that the decryption metadata may be found at a file path on the server “boxfiler101.ve.box.net”. This server may be the filer 506 in some embodiments. Though depicted as the same server in this example, one will recognize that the data may be distributed across a plurality of servers. For example, the server “boxfiler101.ve.box.net” may be the IKS server 504 in some embodiments and the x-decrypt and x-decrypt-metadata materials may refer to different servers.

When the module 507 detects these two headers, or receives a related indication of availability, it may request for the key ENC2 from the IKS 504 at step 702 and request the encrypted file (e.g. the data file encrypted with DEK) from the filer 506 at step 703. These two requests may be one or more GET or POST requests in some embodiments. For example, the module 507 may execute, e.g., using a GET request to the following URL:

http://iks.prod.box.net:5397/boxfiler101.ve.box.net/2011/some/path/to/file.meta

Here, “iks.prod.box.net” may be the IKS server 504. The URL may point directly to the key ENC2 from the encryption pool. In some embodiments, a server-side script may be available on the IKS server 504. The script may receive an index, or other indicator associated with the corresponding ENC2 from the module and may return the corresponding ENC2 in reply at step 704. After receiving the IKS response, the module 507 may make the request to the filer 506 for the encrypted file, e.g., using a GET request to the following URL, at step 705:

-   -   http://boxfiler101.ve.box.net/2011/some/path/to/file.enc

Here, “boxfiler101.ve.box.net” may refer the request to the filer 506. After requesting 705 and receiving the data file encrypted with DEK, at step 706, the download module may decrypt the data coming back from the filer 506, using the key ENC2 provided back from IKS 504. At step 707, the module may stream the decrypted data to the user (e.g., there may be simultaneous streaming and decrypting in some embodiments).

Note that the location of the file may be encoded into the URL request in some embodiments. The IKS 504 may respond to a key file fetch by the download module 507 in various manners in different embodiments.

In some embodiments, the download server 507 will request the encrypted file data from the filer 506, as described above, but it is the ENC1_message that is requested from the IKS 504 (e.g., the metadata information, .meta==ENC1_message). For example, the URL example given above (ending with “.meta”) is for an ENC1_message. When the IKS 504 receives this request it may send a request to the filer location specified in the URL (boxfiler101 in this example) for the ENC2_message. In this example, the IKS 504 may then append the number “2” to the string it identifies in the URL, turning .meta into .meta2 (.meta2==ENC2_message). When the IKS 504 receives the ENC2_message from the filer 506 the IKS 504 may decrypt it using the identified key. In some embodiments, using a URL format as described means that the IKS servers can be stateless. For example, they don't have to know where any files are stored, they just use the received values as a starting point (appending “2” to the received value to locate the file). When the download server 507 receives back the ENC1_message it requested, it may have the ENC1 key to decrypt it and turn it into a DEK.

In this manner, the request from the download server 507 need not be configured to anticipate a difference between any key file format (e.g., ENC2_Message or ENC1_Message). Rather, the IKS 504 may make the determination for how to service that request. Thus, though the example “2” suffix was discussed above, the system may fetch the key data in whatever embodiment necessary and decrypt the data into the appropriate DEK.

In some embodiments, the operations on IKS server 504 may be written using Python. In some embodiments, IKS server 504 may be a standalone server based on an event-driven networking engine (e.g. an event-driven network programming framework such as the Twisted open source framework) and may incorporate some available Python cryptography libraries.

In some embodiments it may be desirable for the IKS server 504 to not require extensive and ongoing configuration and reconfiguration. Minimal interaction with IKS server 504 by human users may mitigate the likelihood that the keys are compromised. Accordingly, the disclosed embodiments may improve security by facilitating greater isolation of the IKS server 504.

In some embodiments, the IKS server 504 can process two sorts of requests: GET and POST requests. In some embodiments, POST requests may include an in-memory transformation of a key file (ENC1) from one format, to another (e.g., ENC2). The new format may be locked with a key that exists only on the IKS server (using ENC1 to produce ENC2 on the upload side). On the download side of the process, the GET request may require the IKS server 504 to retrieve the key file (ENC2) that was stored on disk on the IKS server (e.g., the IKS fetches ENC2 and determines the corresponding ENC1 to be sent to the download module, using the index). The location of the key (ENC2) can be provided to the IKS by means of the URL itself in some embodiments. For example, the form of the request may be:

-   -   http://iks.prod.box.net:5397/boxfiler101.ve.box.net/2011/some/path/to/file.meta

In some embodiments, when this URL is parsed by the IKS server 504, the server is looking for a resource named: /boxfiler101.ve.box.net/2011/some/path/to/file.meta. The resource may be provided as a suffix to the request as indicated above.

The IKS server 504 may then request the keyfile (ENC2) and perform the unlock operation. For example, the IKS server 504 may use the index to the key stored only in the key pool 505 to determine ENC2. Once ENC2 has been recovered, the IKS server 504 may provide the key (ENC2) to the requesting download server, e.g. the server housing download module 507. Performing the operations in this manner may allow minimization of the amount of change needed in both the download module 507 (e.g., Nginx® plugin module) and the IKS server 504 in order to support new storage locations in production. As mentioned, this reduced interaction may also improve security.

Thus, behavior of both upload and download systems may be controlled by manipulating the special headers that are provided in a response to the download request. These headers may be intercepted by the download module 507 (e.g., Nginx plugin). Detecting the headers may precipitate the rest of the above-described operations “behind the scenes”, so that file access appears transparently from both the upload and download perspective. As one benefit of some embodiments, the encryption and decryption processes may be configurable by making changes only in the web application code, e.g. an implementation in PHP or other backend software. In some embodiments the two special headers may not be returned to the user and rather exist as a control system for internal use.

Encryption Key Pool Response and Recovery

FIG. 8 is a flow diagram depicting some steps in a key compromise and recovery process 800 as may be implemented in some embodiments. At step 801, the system, e.g. via an administrator managing IKS server 504, may discover that a key “K” from the encryption pool has been compromised. For example, a malicious client or collaborator, may seek to retrieve data from the filer and infer the key ENC2 with which the DEK is encrypted. After discovering the compromise, the administrator, or the system, may automatically initiate the remainder of the recovery process 800.

At step 802, the system or administrator may determine the corrective action criteria for the encryption key pool which is responsive to the compromise. For example, if the malicious user has discovered an encryption key K in the encryption key pool, the system may determine that all keys generated prior to the generation of key K may likewise be suspect, depending upon the character of the malicious user's compromise. In response, the criteria may specify not only that files whose DEK is encrypted with ENC2 should have their DEK reencrypted with a new key from the encryption key pool, but that all files with encryption pool keys preceding K be reencrypted as well. Similarly, if the comprise is such that a plurality of DEK's may now be accessed by the malicious user, the criteria may specify that a new DEK be generated for the corresponding files, the files reencrypted with the new DEK, and new ENC2 messages be generated with the new DEK.

At step 803, the system, e.g. the IKS server 504, may adjust the encryption pool based on the corrective action criteria. For example, where key K and all preceding keys are suspected of compromise, the system may remove all of these keys and replace them with freshly generated keys.

At step 804, the system, e.g. the IKS server 504, may iterate through files in the filer 506 decrypting and reencrypting as specified above to implement the determined corrective action criteria. The system may refer to the file headers or to a locally stored table to identify which files are encrypted with which keys from the encryption key pool.

Once the corrective actions have been taken, at step 805, the system, e.g. the IKS server 504, may resume upload and download encryption/decryption as described previously using the new keys.

In some embodiments, in the event that some set of keys (ENC2s) are determined to be compromised they may not actually be removed from the system. Rather, the system or administrator may re-key all the DEKs which were encrypted with those keys, as described above. The system or administrator may also disallow those compromised keys from ever being used to encrypt any new files. Thus, the effect would be that although the keys are still in the keypool, there are no files anywhere whose DEKs are encrypted using those keys.

One will recognize various ways to disallow keys to be used for new files. For example, the keypool format may contain an additional bit for each key indicating whether it can be used for encrypting new files, or only for decrypting existing files. When new keys are generated, e.g. using a script as discussed above, the bit may be set on all previous keys so that only the most recent keys can be used for new files. As this may be done on a regular basis, the effect may be that each ENC2 (key encryption key) is only used for a small portion of the total files.

This approach may have many benefits. For example, if any ENC2 is compromised it may only be necessary to re-key that small portion of all the file's DEKs (though some embodiments may elect to re-key more than that). That portion of the files may be identified by looking in the database for all files whose DEK is encrypted with a given key.

FIG. 9 shows a diagrammatic representation of a machine 900 in the example form of a computer system within which a set of instructions, for causing the machine to perform any one or more of the methodologies discussed herein, may be executed.

In alternative embodiments, the machine operates as a standalone device or may be connected (e.g., networked) to other machines. In a networked deployment, the machine may operate in the capacity of a server or a client machine in a client-server network environment, or as a peer machine in a peer-to-peer (or distributed) network environment.

The machine may be a server computer, a client computer, a personal computer (PC), a user device, a tablet PC, a laptop computer, a set-top box (STB), a personal digital assistant (PDA), a cellular telephone, an iPhone, an iPad, a Blackberry, a processor, a telephone, a web appliance, a network router, switch or bridge, a console, a hand-held console, a (hand-held) gaming device, a music player, any portable, mobile, hand-held device, or any machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine.

While the machine-readable medium or machine-readable storage medium is shown in an exemplary embodiment to be a single medium, the term “machine-readable medium” and “machine-readable storage medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more sets of instructions. The term “machine-readable medium” and “machine-readable storage medium” shall also be taken to include any medium that is capable of storing, encoding or carrying a set of instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the presently disclosed technique and innovation.

In general, the routines executed to implement the embodiments of the disclosure, may be implemented as part of an operating system or a specific application, component, program, object, module or sequence of instructions referred to as “computer programs.” The computer programs typically comprise one or more instructions set at various times in various memory and storage devices in a computer, and that, when read and executed by one or more processing units or processors in a computer, cause the computer to perform operations to execute elements involving the various aspects of the disclosure.

Moreover, while embodiments have been described in the context of fully functioning computers and computer systems, those skilled in the art will appreciate that the various embodiments are capable of being distributed as a program product in a variety of forms, and that the disclosure applies equally regardless of the particular type of machine or computer-readable media used to actually effect the distribution.

Further examples of machine-readable storage media, machine-readable media, or computer-readable (storage) media include, but are not limited to, recordable type media such as volatile and non-volatile memory devices, floppy and other removable disks, hard disk drives, optical disks (e.g., Compact Disk Read-Only Memory (CD ROMS), Digital Versatile Disks, (DVDs), etc.), among others, and transmission type media such as digital and analog communication links.

The network interface device enables the machine 900 to mediate data in a network with an entity that is external to the host server, through any known and/or convenient communications protocol supported by the host and the external entity. The network interface device can include one or more of a network adaptor card, a wireless network interface card, a router, an access point, a wireless router, a switch, a multilayer switch, a protocol converter, a gateway, a bridge, bridge router, a hub, a digital media receiver, and/or a repeater.

The network interface device can include a firewall which can, in some embodiments, govern and/or manage permission to access/proxy data in a computer network, and track varying levels of trust between different machines and/or applications. he firewall can be any number of modules having any combination of hardware and/or software components able to enforce a predetermined set of access rights between a particular set of machines and applications, machines and machines, and/or applications and applications, for example, to regulate the flow of traffic and resource sharing between these varying entities. The firewall may additionally manage and/or have access to an access control list which details permissions including for example, the access and operation rights of an object by an individual, a machine, and/or an application, and the circumstances under which the permission rights stand.

Other network security functions can be performed or included in the functions of the firewall, can be, for example, but are not limited to, intrusion-prevention, intrusion detection, next-generation firewall, personal firewall, etc. without deviating from the novel art of this disclosure.

Remarks

In general, the routines executed to implement the embodiments of the disclosure, may be implemented as part of an operating system or a specific application, component, program, object, module or sequence of instructions referred to as “computer programs.” The computer programs typically comprise one or more instructions set at various times in various memory and storage devices in a computer, and that, when read and executed by one or more processing units or processors in a computer, cause the computer to perform operations to execute elements involving the various aspects of the disclosure.

Moreover, while embodiments have been described in the context of fully functioning computers and computer systems, those skilled in the art will appreciate that the various embodiments are capable of being distributed as a program product in a variety of forms, and that the disclosure applies equally regardless of the particular type of machine or computer-readable media used to actually effect the distribution.

Further examples of machine-readable storage media, machine-readable media, or computer-readable (storage) media include, but are not limited to, recordable type media such as volatile and non-volatile memory devices, floppy and other removable disks, hard disk drives, optical disks (e.g., Compact Disk Read-Only Memory (CD ROMS), Digital Versatile Disks, (DVDs), etc.), among others, and transmission type media such as digital and analog communication links.

Unless the context clearly requires otherwise, throughout the description and the claims, the words “comprise,” “comprising,” and the like are to be construed in an inclusive sense, as opposed to an exclusive or exhaustive sense; that is to say, in the sense of “including, but not limited to.” As used herein, the terms “connected,” “coupled,” or any variant thereof, means any connection or coupling, either direct or indirect, between two or more elements; the coupling of connection between the elements can be physical, logical, or a combination thereof. Additionally, the words “herein,” “above,” “below,” and words of similar import, when used in this application, shall refer to this application as a whole and not to any particular portions of this application. Where the context permits, words in the above Detailed Description using the singular or plural number may also include the plural or singular number respectively. The word “or,” in reference to a list of two or more items, covers all of the following interpretations of the word: any of the items in the list, all of the items in the list, and any combination of the items in the list.

The above detailed description of embodiments of the disclosure is not intended to be exhaustive or to limit the teachings to the precise form disclosed above. While specific embodiments of, and examples for, the disclosure are described above for illustrative purposes, various equivalent modifications are possible within the scope of the disclosure, as those skilled in the relevant art will recognize. For example, while processes or blocks are presented in a given order, alternative embodiments may perform routines having steps, or employ systems having blocks, in a different order, and some processes or blocks may be deleted, moved, added, subdivided, combined, and/or modified to provide alternative or subcombinations. Each of these processes or blocks may be implemented in a variety of different ways. Also, while processes or blocks are at times shown as being performed in series, these processes or blocks may instead be performed in parallel, or may be performed at different times. Further, any specific numbers noted herein are only examples: alternative implementations may employ differing values or ranges.

The teachings of the disclosure provided herein can be applied to other systems, not necessarily the system described above. The elements and acts of the various embodiments described above can be combined to provide further embodiments.

Aspects of the disclosure can be modified, if necessary, to employ the systems, functions, and concepts of the various references described above to provide yet further embodiments of the disclosure.

These and other changes can be made to the disclosure in light of the above Detailed Description. While the above description describes some embodiments of the disclosure, and describes the best mode contemplated, no matter how detailed the above appears in text, the teachings can be practiced in many ways. Details of the system may vary considerably in its implementation details, while still being encompassed by the subject matter disclosed herein. As noted above, particular terminology used when describing some features or aspects of the disclosure should not be taken to imply that the terminology is being redefined herein to be restricted to any specific characteristics, features, or aspects of the disclosure with which that terminology is associated. In general, the terms used in the following claims should not be construed to limit the disclosure to the specific embodiments disclosed in the specification, unless the above Detailed Description section explicitly defines such terms. Accordingly, the actual scope of the disclosure encompasses not only the disclosed embodiments, but also all equivalent ways of practicing or implementing the disclosure under the claims.

While some aspects of the disclosure are presented below in some claim forms, the inventors contemplate the various aspects of the disclosure in any number of claim forms. For example, while only one aspect of the disclosure is recited as a means-plus-function claim under 35 U.S.C. §112, ¶6, other aspects may likewise be embodied as a means-plus-function claim, or in other forms, such as being embodied in a computer-readable medium. (Any claims intended to be treated under 35 U.S.C. §112, ¶6 will begin with the words “means for”.) Accordingly, the applicant reserves the right to add additional claims after filing the application to pursue such additional claim forms for other aspects of the disclosure. 

What is claimed is:
 1. A computer-implemented encryption method for recovering from a compromised key from an encryption key pool in a cloud-based collaborative platform comprising: identifying a plurality of data files, the data files encrypted with a first plurality of encryption keys; determining a plurality of encryption key files, wherein the plurality of encryption key files comprise the first plurality of encryption keys encrypted with the compromised key; determining a first plurality of corrective action criteria for an encryption key pool; determining a second plurality of corrective action criteria for the plurality of encrypted data files; determining a third plurality of corrective action criteria for the plurality of encryption key files; adjusting the encryption key pool based on the first plurality of corrective action criteria; adjusting the plurality of encrypted data files based on the second plurality of corrective action criteria; and adjusting the plurality of encryption key files based on the third plurality of corrective action criteria; wherein, the data files are accessed by and/or collaborated upon among multiple users or collaborators in the cloud-based encryption platform.
 2. The computer-implemented method of claim 1, wherein adjusting the encryption key pool compromises removing the compromised key from the key pool and generating a new key in the encryption key pool.
 3. The computer-implemented method of claim 2, wherein the new key is generated using a different method from the method used to generate the compromised key.
 4. The computer-implemented method of claim 1, wherein adjusting the plurality of encrypted data files comprises decrypting the data files and reencrypting the data files with a new key.
 5. The computer-implemented method of claim 2, wherein adjusting the plurality of encryption key files comprises decrypting the encryption key files using the comprised key and reencrypting the key files using the new key. 